home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
linklist
/
source.lha
/
doc
/
lInsNode.3
< prev
next >
Wrap
Text File
|
1993-08-08
|
1KB
|
47 lines
'.so tmac.clman
.TH "lInsNode"
.IX lInsNode
.SH NAME
lInsNode - Insert node.
.SH SYNOPSIS
int
.BR "lInsNode" "(id, where, data, size, flag)"
.br
.RT
.RP
In int id identifier of linked list
.RP
In int where place where node must be inserted
.RP
In Byte *data data of node
.RP
In int size size of data
.RP
In int flag user information flag
.DT
.SH DESCRIPTION
\fBlInsNode\fP inserts a node in a linked list. Where the node must be
inserted can be specified by \fIwhere\fP. A node can be added at the
front of the list, before or after the current node and at the end of
the list. For each node a flag can be set by the user, e.g. to identify
the node or the type of node. When the flag identifies the node you can
retrieve the nodes by flag (lFndFlagNode).
.SH PARAMETER DEFINITIONS
.if t .ta 0.2i 1.5i
\fIwhere\fP :
.nf
lFIRST as first node
lBEFORE before current node
lAFTER after current node
lLAST as last node
.fi
.SH RETURN CODES
.nf
Return on success :
lSUCCESS
Return on error :
lUNKNOWN_ID, lWRONG_WHERE
.fi
.SH AUTHOR
Anita Eijs (TNO - Bouw - BouwInformatica)